import 'package:flutter_test/flutter_test.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

class MockSearchPlatform
    with MockPlatformInterfaceMixin {

  @override
  Future<String?> getPlatformVersion() => Future.value('42');
}

void main() {
  // test('$MethodChannelSearch is the default instance', () {
  //   // expect(initialPlatform, isInstanceOf<MethodChannelSearch>());
  // });

  test('getPlatformVersion', () async {
    MockSearchPlatform fakePlatform = MockSearchPlatform();

    expect(await fakePlatform.getPlatformVersion(), '42');
  });
}
